<?php require_once( "index.inc" ); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<title>Huntsville/Madison County Net Activations</title>
    <link rel="stylesheet" href="main.css" type="text/css"/>
</head>
<body>
	<div class="logo">
        <img src="Logo.png"/>
    </div>
	<div>
		<h1>Welcome</h1>
		<p>
			This website provides view-only access to data collected for net
			activations in Huntsville and Madison County, AL, including both
			training and emergency nets. Refer to the links below to review data
			for either active nets in progress or previous net activations.
		</p>
		<h1>Active Nets</h1>
		<?php if ( isset( $activeNets ) ): ?>
		<ul>
			<?php NMListNets( $activeNets ); ?>
		</ul>
		<?php else: ?>
		<p>No active nets at this time</p>
		<?php endif; ?>
		<h1>Past Activations (newest first)</h1>
		<?php if ( isset( $oldNets ) ): ?>
		<ul>
			<?php NMListNets( $oldNets ); ?>
		</ul>
		<?php endif; ?>
	</div>
</body>
</html>
